//
//  ZCOrderListBodyTopCell.m
//  ZCJZ
//
//  Created by sujeking on 2019/3/2.
//  Copyright © 2019年 jeking. All rights reserved.
//

#import "ZCOrderListBodyTopCell.h"

@interface ZCOrderListBodyTopCell()

@property (weak, nonatomic) IBOutlet UILabel *llabel;
@property (weak, nonatomic) IBOutlet UILabel *rlabel;

@end


@implementation ZCOrderListBodyTopCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}

- (void)setOrdersn:(NSString *)ordersn {
    _ordersn = ordersn;
    if (self.isGroupBuy) {
        self.llabel.text = [NSString stringWithFormat:@"订单号:%@ 拼团",ordersn];
    } else {
        self.llabel.text = [NSString stringWithFormat:@"订单号:%@",ordersn];
    }
}

- (void)setStatusName:(NSString *)statusName {
    _statusName = statusName;
    self.rlabel.text = statusName;
}



@end
